package bit.book.mapper;

import bit.book.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserInfoMapper {

    @Select("select * from user_info where user_name=#{userName}")
    UserInfo getUserInfoByName(String userName);

}
